package com.isdepci.project.eleLoad.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 机械台班定额对象 a_machinery_quota
 *
 * @author isdepci
 * @date 2025-02-27
 */
public class AMachineryQuota extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String icode;

    /** 机械名称 */
    @Excel(name = "机械名称")
    private String machineryName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String model;

    /** 台班单价(元) */
    @Excel(name = "台班单价(元)")
    private BigDecimal price;

    /** 汽油(kg) */
    @Excel(name = "汽油(kg)")
    private BigDecimal gasolineConsumption;

    /** 柴油(kg) */
    @Excel(name = "柴油(kg)")
    private BigDecimal dieoConsumption;

    /** 电(kW·h) */
    @Excel(name = "电(kW·h)")
    private BigDecimal eleConsumption;

    /** 煤(kg) */
    @Excel(name = "煤(kg)")
    private BigDecimal coalConsumption;

    /** 木柴(kg) */
    @Excel(name = "木柴(kg)")
    private BigDecimal woodsConsumption;

    /** 水(m³) */
    @Excel(name = "水(m³)")
    private BigDecimal waterConsumption;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIcode(String icode)
    {
        this.icode = icode;
    }

    public String getIcode()
    {
        return icode;
    }
    public void setMachineryName(String machineryName)
    {
        this.machineryName = machineryName;
    }

    public String getMachineryName()
    {
        return machineryName;
    }
    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setGasolineConsumption(BigDecimal gasolineConsumption)
    {
        this.gasolineConsumption = gasolineConsumption;
    }

    public BigDecimal getGasolineConsumption()
    {
        return gasolineConsumption;
    }
    public void setDieoConsumption(BigDecimal dieoConsumption)
    {
        this.dieoConsumption = dieoConsumption;
    }

    public BigDecimal getDieoConsumption()
    {
        return dieoConsumption;
    }
    public void setEleConsumption(BigDecimal eleConsumption)
    {
        this.eleConsumption = eleConsumption;
    }

    public BigDecimal getEleConsumption()
    {
        return eleConsumption;
    }
    public void setCoalConsumption(BigDecimal coalConsumption)
    {
        this.coalConsumption = coalConsumption;
    }

    public BigDecimal getCoalConsumption()
    {
        return coalConsumption;
    }
    public void setWoodsConsumption(BigDecimal woodsConsumption)
    {
        this.woodsConsumption = woodsConsumption;
    }

    public BigDecimal getWoodsConsumption()
    {
        return woodsConsumption;
    }
    public void setWaterConsumption(BigDecimal waterConsumption)
    {
        this.waterConsumption = waterConsumption;
    }

    public BigDecimal getWaterConsumption()
    {
        return waterConsumption;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("icode", getIcode())
            .append("machineryName", getMachineryName())
            .append("model", getModel())
            .append("price", getPrice())
            .append("gasolineConsumption", getGasolineConsumption())
            .append("dieoConsumption", getDieoConsumption())
            .append("eleConsumption", getEleConsumption())
            .append("coalConsumption", getCoalConsumption())
            .append("woodsConsumption", getWoodsConsumption())
            .append("waterConsumption", getWaterConsumption())
            .toString();
    }
}
